/*
** display.h for Kernel in /home/icecrime/Kernel
** 
** Made by icecrime
** Login   <icecrime@epita.fr>
** 
** Started on  Wed Oct 18 15:40:13 2006 icecrime
** Last update Wed Oct 18 15:53:56 2006 icecrime
*/

#ifndef __DISPLAY_H__
# define __DISPLAY_H__

#define	BLACK		0
#define BLUE		1
#define GREEN		2
#define CYAN		3
#define RED		4
#define MAGENTA		5
#define BROWN		6
#define	WHITE		7
#define	DARK_GREY	8
#define	BRIGHT_BLUE	9
#define	BRIGHT_GREEN	10
#define BRIGHT_CYAN	11
#define PINK		12
#define BRIGHT_MAGENTA	13
#define YELLOW		14
#define BRIGHT_WHITE	15

#define BRIGHT(color)		(color | 0x08)
#define	COLOR(front, back)	((back << 4) | front)

void	cls(void);
void	clsp(char clear_to, char attrib);

void	puts(const char *str);
void	putsp(const char *str, char attrib);

void	putch(const char c);
void	putchp(const char c, char attrib);

void	putnumber(const int number);
void	putnumberp(const int number, char attrib);

#endif /* !__DISPLAY_H__ */
